
/*
 本类由PWMIS 实体类生成工具(Ver 4.0)自动生成
 http://www.pwmis.com/sqlmap
 使用前请先在项目工程中引用 PWMIS.Core.dll
 2010/6/12 10:50:05

*/

using System;
using PWMIS.DataMap.Entity;

namespace NBFModel 
{
  //[Serializable()]
  public partial class Tb_Sys_Article : EntityBase
  {
    public Tb_Sys_Article()
    {
            TableName = "Tb_Sys_Article";
            //IdentityName = "标识字段名";

            //PrimaryKeys.Add("主键字段名");

            
            PropertyNames = new string[] { "ArticleID","ModuleID","UserID","Title","Pic","FileUrl","Url","Content","Writer","Sources","addTime","ClickTimes","PicNews","ViewAuthority","State","Abstract","mode","zhxgrq" };
            PropertyValues = new object[PropertyNames.Length];
    }


      /// <summary>
      /// 
      /// </summary>
      public System.Int32 ArticleID
      {
          get{return getProperty<System.Int32>("ArticleID");}
          set{setProperty("ArticleID",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.Int32 ModuleID
      {
          get{return getProperty<System.Int32>("ModuleID");}
          set{setProperty("ModuleID",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.Int32 UserID
      {
          get{return getProperty<System.Int32>("UserID");}
          set{setProperty("UserID",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Title
      {
          get{return getProperty<System.String>("Title");}
          set{setProperty("Title",value ,200);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Pic
      {
          get{return getProperty<System.String>("Pic");}
          set{setProperty("Pic",value ,100);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String FileUrl
      {
          get{return getProperty<System.String>("FileUrl");}
          set{setProperty("FileUrl",value ,100);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Url
      {
          get{return getProperty<System.String>("Url");}
          set{setProperty("Url",value ,50);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Content
      {
          get{return getProperty<System.String>("Content");}
          set{setProperty("Content",value ,1073741823);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Writer
      {
          get{return getProperty<System.String>("Writer");}
          set{setProperty("Writer",value ,30);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Sources
      {
          get{return getProperty<System.String>("Sources");}
          set{setProperty("Sources",value ,100);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.DateTime addTime
      {
          get{return getProperty<System.DateTime>("addTime");}
          set{setProperty("addTime",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.Int32 ClickTimes
      {
          get{return getProperty<System.Int32>("ClickTimes");}
          set{setProperty("ClickTimes",value );}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String PicNews
      {
          get{return getProperty<System.String>("PicNews");}
          set{setProperty("PicNews",value ,1);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String ViewAuthority
      {
          get{return getProperty<System.String>("ViewAuthority");}
          set{setProperty("ViewAuthority",value ,1);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String State
      {
          get{return getProperty<System.String>("State");}
          set{setProperty("State",value ,1);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String Abstract
      {
          get{return getProperty<System.String>("Abstract");}
          set{setProperty("Abstract",value ,1073741823);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.String mode
      {
          get{return getProperty<System.String>("mode");}
          set{setProperty("mode",value ,50);}
      }

      /// <summary>
      /// 
      /// </summary>
      public System.DateTime zhxgrq
      {
          get{return getProperty<System.DateTime>("zhxgrq");}
          set{setProperty("zhxgrq",value );}
      }


  }
}
